<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-default">
                <div class="panel-heading">申请信息</div>
                <div class="panel-body">
                    <div class="form-horizontal">

                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">申请身份:</label>
                            <div class="col-xs-12 col-sm-8">
                                <p class="form-control-static">{$row.is_broker_text ?? ''}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">姓名:</label>
                            <div class="col-xs-12 col-sm-8">
                                <p class="form-control-static">{$row.username ?? ''}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">手机号:</label>
                            <div class="col-xs-12 col-sm-8">
                                <p class="form-control-static">{$row.mobile ?? ''}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">身份证号:</label>
                            <div class="col-xs-12 col-sm-8">
                                <p class="form-control-static">{$row.identify ?? ''}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">身份证图片:</label>
                            <div class="col-xs-12 col-sm-4">
                                <img src="{$row.id_face ?? ''}" width="150px" class="form-control-static" />
                            </div>
                            <div class="col-xs-12 col-sm-4">
                                <img src="{$row.id_back ?? ''}" width="150px" class="form-control-static" />
                            </div>
                        </div>
                        {if $row.is_broker == 1}
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">房产证:</label>
                            <div class="col-xs-12 col-sm-8">
                                <img src="{$row.house_certification ?? ''}" width="150px" class="form-control-static" />
                            </div>
                        </div>
                        {else /}
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">负责小区:</label>
                            <div class="col-xs-12 col-sm-8">
                                <p class="form-control-static" >{$row.village_ids ?? ''}</p>
                            </div>
                        </div>
                        {/if}
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">审核状态:</label>
                            <div class="col-xs-12 col-sm-8">
                                <p class="form-control-static" >{$row.check_status_text ?? ''}</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-2">申请时间:</label>
                            <div class="col-xs-12 col-sm-8">
                                <p class="form-control-static" >{:datetime('Y-m-d H:i:s',$row.createtime)}</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {if $row.check_status == 0 }
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="checkStatusList" item="vo"}
            <label for="row[check_status]-{$key|htmlentities}"><input id="row[check_status]-{$key|htmlentities}" name="row[check_status]" type="radio" value="{$key|htmlentities}" {in name="key" value="$row.check_status"}checked{/in} /> {$vo|htmlentities}</label>
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
    {/if}
</form>
